package com.addplus.townmall.server.api.model.town;

import java.time.LocalDateTime;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城商品状态类型关联表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-10-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ShopParticipateActive extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商品主键id
     */
    private Integer shopProductId;

    /**
     * 参与活动的skuId
     */
    private Integer shopSkuId;

    /**
     * 商品参与活动类型(1:秒杀 2:优选 3:折扣)
     */
    private Integer shopActiveType;

    /**
     * 当前商品参与活动主键id
     */
    private Integer shopObjId;

    /**
     * 活动状态(0:未开始 1:进行中 2:已过期)
     */
    private Integer status;

    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDeleted;


}
